import demo1.TestDemo;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author 12629
 * @Description：
 */
class Out {
    static class Inner {

    }
}
class MyClass {
    long var;
    public void MyClass(long param) {
        var = param;
    }//(1)
    public static void main(String[] args) {
        MyClass a =new MyClass();//(2)
        a.MyClass(5);

    }
}
public class Test {

    public static void main(String[] args) {
        int[] array = {1,2,3,4,5};
        System.out.println(Arrays.toString(array));
    }

    public static void main333(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String a = in.nextLine();
            String b = in.nextLine();
            String ret = add(a,b);
            System.out.println(ret);
        }
    }

    private static String add(String a, String b) {
        StringBuilder stringBuilder = new StringBuilder();
        int lenA = a.length();
        int lenB = b.length();
        int maxLen = Math.max(lenA, lenB);

        StringBuilder stringBuilderA = new StringBuilder(a).reverse();
        StringBuilder stringBuilderB = new StringBuilder(b).reverse();

        boolean isCarry = false;
        for (int i = 0; i < maxLen; i++) {
            char cha = i >= lenA ? '0' : stringBuilderA.charAt(i);
            char chb = i >= lenB ? '0' : stringBuilderB.charAt(i);

            if (cha == '1' && chb == '1') {
                stringBuilder.append(isCarry ? '1' : '0');
                isCarry = true;//表示当前开始进位了
            } else if (cha == '0' && chb == '0') {
                stringBuilder.append(isCarry ? '1' : '0');
                isCarry = false;
            } else {
                stringBuilder.append(isCarry ? '0' : '1');
            }
        }

        if (isCarry) {
            stringBuilder.append('1');
        }

        return stringBuilder.reverse().toString();
    }

    public static void main6(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String str1 = in.nextLine();
            String str2 = in.nextLine();
            String ret = func(str1,str2);
            System.out.println(ret);
        }
    }

    private static String func(String str1,String str2) {
        StringBuilder stringBuilder = new StringBuilder();
        for(int i = 0;i < str1.length();i++) {
            char ch = str1.charAt(i);
            //if(!str2.contains(ch+"")) {
            if(str2.indexOf(ch) == -1) {
                stringBuilder.append(ch);
            }
        }

        return stringBuilder.toString();
    }

   /* public    final int SIZE ;
    static {
        //SIZE = 10;
    }

    {
        //SIZE = 10;
    }

    public Test() {
        //SIZE = 10;
    }

    public void test() {
        SIZE = 10;
    }*/


    public static void main3(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String str = in.nextLine();
            char ch = str.charAt(0);
            if(Character.isLowerCase(ch)) {
                char chw = (char)(ch-32);
                System.out.println(chw);
            }else {
                char chv = (char)(ch+32);
                System.out.println(chv);
            }
        }
    }

    public static void main2(String[] args) {//2
        System.out.println("value="+switchit(4));//3
    }//4
    public static int switchit(int x) {
        int j=1;
        switch (x) {
            case 1:j++;
            case 2:j++;
            case 3:j++;
            case 4:j++;
            case 5:j++;
            default:j++;
        }
        return j+x;
    }


    public static void main1(String[] args) {
        //Out.Inner inner = new Out.Inner();

        String str1 = "hello";
        String strTmp = "hello";

        System.out.println(str1 == strTmp);
    }

}
